package com.fortune.vo.clientOrder;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel("ProductInOrder")
public class Product {
	@ApiModelProperty(example="商品id")
	private String id;
	@ApiModelProperty(example="商品名称")
	private String name;
	@ApiModelProperty(example="商品规格")
	private String msName;
	@ApiModelProperty(example="商品价格")
	private BigDecimal price;
	@ApiModelProperty(example="商品数量")
	private int count;
	@ApiModelProperty(example="商品总价")
	private BigDecimal totalPrice;
	@ApiModelProperty(example = "回空箱数量")
	private int backBoxNum;
	@ApiModelProperty(example = "回箱押金")
	private BigDecimal dprice;

	public BigDecimal getDprice() {
		return dprice;
	}

	public void setDprice(BigDecimal dprice) {
		this.dprice = dprice;
	}

	public int getBackBoxNum() {
		return backBoxNum;
	}

	public void setBackBoxNum(int backBoxNum) {
		this.backBoxNum = backBoxNum;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMsName() {
		return msName;
	}
	public void setMsName(String msName) {
		this.msName = msName;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", msName=" + msName + ", price=" + price + ", count=" + count
				+ ", totalPrice=" + totalPrice + "]";
	}
}
